package cat.tom.service;

import cat.tom.pojo.Headline;
import cat.tom.pojo.vo.PortalVo;
import cat.tom.utils.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author llllle
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2024-03-08 01:03:36
*/
public interface HeadlineService extends IService<Headline> {

    Result findNewPage(PortalVo portalVo);

    Result showHeadlineDetail(Integer hid);

    Result publish(Headline headline, String token);

    Result findHeadlineByHid(Integer hid);

    Result updateHeadline(Headline headline);
}
